package com.main.gateway.domain.mapper;

import com.main.gateway.domain.entity.model.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

// @Mapper 注解和五大类注解一样，都会随着 Spring 的启动而注入到容器中
@Mapper
public interface UserMapper {

    //根据 id 来获取用户信息
    User getUserById(@Param("Id") Integer Id);

}